package com.zhongke.cotrun;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.ApiInfo;
import springfox.documentation.service.Contact;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan({"com.zhongke.cotrun.mapper","com.zhongke.cotrun.shiro.sys.dao","com.zhongke.cotrun.shiro.web.dao"})
@SpringBootApplication
//@Configuration
//@EnableScheduling
public class CotrunApplication {

    public static void main(String[] args) {
        SpringApplication.run(CotrunApplication.class, args);
    }

}
